package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 网点表
 * </p>
 *
 * @author WEN
 * @since 2024-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjNetwork对象", description="网点表")
public class ZjNetwork implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "网点名称")
    private String name;

    @ApiModelProperty(value = "网点编码")
    private String code;

    @ApiModelProperty(value = "服务商模式：1-内部服务商，2-第三方服务商")
    private Integer category;

    @ApiModelProperty(value = "网点服务类型：0-两者都是，1-销售网点，2-售后网点")
    private Integer type;

    @ApiModelProperty(value = "团队类型：1-团队，2-个人")
    private Integer teamType;

    @ApiModelProperty(value = "是否有服务商个人团队改变申请：0-否，1-是")
    @TableField("is_has_alone_team_change_apply")
    private Boolean hasAloneTeamChangeApply;

    @ApiModelProperty(value = "团队认证状态：0-未认证，1-认证待审核，2-认证通过，3-认证驳回")
    private Integer teamAuthenStatus;

    @ApiModelProperty(value = "个人认证状态：0-未认证，1-认证待审核，2-认证通过，3-认证驳回")
    private Integer aloneAuthenStatus;

    @ApiModelProperty(value = "网点类型表ID")
    private Long networkTypeId;

    @ApiModelProperty(value = "地址-省")
    private String province;

    @ApiModelProperty(value = "地址-市")
    private String city;

    @ApiModelProperty(value = "地址-区")
    private String area;

    @ApiModelProperty(value = "地址-镇")
    private String town;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "是否禁用：0-否，1-是")
    @TableField("is_disabled")
    private Boolean disabled;

    @ApiModelProperty(value = "创建人员ID")
    private Long createEmpId;

    @ApiModelProperty(value = "创建人员")
    private String createEmp;

    @ApiModelProperty(value = "更新人员ID")
    private Long updateEmpId;

    @ApiModelProperty(value = "更新人员")
    private String updateEmp;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
